{xajax_js}
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--

function closeQuickResponce() {
	div = document.getElementById('quick_responce');
	div.innerHTML = '';
} 

function Validate(form) {
	return true;
}
//-->
</SCRIPT>

{user_msg}

<form action="{action_link}" method="post" enctype="multipart/form-data" onSubmit="return Validate(this);">

<table>
<tr>
	<td class="tdSubTitle" colspan="6"><b>{contact_us_msg}</b></td>
</tr>

<tmpl:not_registered>
<tr class="trForm">
	<td class="tdFormCaption">{name_msg}:</td>
	<td><input type="text" name="name" id="name" value="{name}" class="longText" {name_option} /></td>
</tr>

<tr class="trForm">
	<td class="tdFormCaption">{required_sign} {email_msg}:</td>
	<td><input type="text" name="email" id="email" value="{email}" class="longText" {email_option} /></td>
</tr>
</tmpl:not_registered>

<tr class="trForm">
	<td class="tdFormCaption">{category_msg}:</td>
	<td>
		<select name="category_id" id="category_id" style="width: 200px">
		{category_select}
		</select>
	</td>
</tr>

<tr class="trForm">
	<td valign="top" class="tdFormCaption">{required_sign} {question_comment_msg}:</td>
	<td>
		{demo_responce_msg}
		<textarea cols="80" rows="8" name="message" id="message" onkeyup="OnKeyRequestBuffer.modified(this.id)">{message}</textarea>
	</td>
</tr>

<tmpl:attachment>
<tr class="trForm">
	<td class="tdFormCaption">{attachment_msg}:</td>
	<td><input type="file" name="file_{num}" id="file_{num}" class="longText"></td>
</tr>
</tmpl:attachment>

<tmpl:captcha>
<tr class="trForm" valign="top">
	<td class="tdFormCaption"></td>
	<td><br /><img src="{captcha_src}" alt="code" /></td>
</tr>

<tr class="trForm" valign="top">
	<td valign="top" class="tdFormCaption">{required_sign} {captcha_msg}:</td>
	<td valign="top">
		<input type="text" name="captcha" id="captcha" value="" class="longText" /> 
		&nbsp;&nbsp;<span class="formComment">{captcha_comment_msg}</span>
	</td>
</tr>
</tmpl:captcha>

<tr>
	<td></td>
	<td>
		<div id="quick_responce"></div>
		<div><br /></div>
		<input type="submit" name="submit" id="submit" value="{ok_msg}" class="button" />
		<input type="button" value="{cancel_msg}" onclick="location.href='{cancel_link}'" class="button" />
	</td>
</tr>
</table>
</form>



